package managedbeans.ui;

import java.util.List;

import service.springbeans.GroupSpring;
import service.springbeans.ThemaSpring;

public class ForumData {

	private GroupSpring groupSpring; 
	private String category;
	private String subCategory;
	private String moderator;
	
	public ForumData(){
	}
	
	public List<ThemaSpring> getThemaList() {
		return groupSpring.getThemaList();
	}
	
	/*
	public void setThemaList(List<ThemaSpring> themas) {
	    this.themas = themas;
	}
	*/
	
	public void setGroupSpring(GroupSpring groupSpring){
		this.groupSpring = groupSpring;
	}

	public String getCategory() {
		return groupSpring.getMainThema();
	}

	public String getSubCategory() {
		return groupSpring.getSubCategory();
	}

	public String getModerator() {
		return groupSpring.getModerator();
	}
	
}
